// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
// element-ui
import Element from 'element-ui';
import VueResource from 'vue-resource';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/iconfont/iconfont.js';
import './assets/stylus/main.styl';
import './assets/stylus/icon.styl';

Vue.config.productionTip = false;
Vue.use(Element);
Vue.use(VueResource);

require('../mock/mock');

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>'
});
